#include "clickableLabel.h"

void ClickableLabel::mouseReleaseEvent(QMouseEvent *event){
    Q_UNUSED(event)
    emit clicked();
}

ClickableLabel::ClickableLabel(const QString &str,QWidget *parent):QLabel(str,parent)
{
    setCursor(Qt::PointingHandCursor );
    QPalette myPalette=palette();
    myPalette.setBrush(QPalette::WindowText,Qt::blue);
    setPalette(myPalette);
}
